<?php
	// Generate a random string of size $length (Written by Luke)
	function generateRandomString($length, $possible = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
	{
		$i = 0;
		$var = '';
		
		while ($i < $length)
		{ 
			$var .= substr($possible, mt_rand(0, strlen($possible)-1), 1);
			$i++;
		}
		
		return $var;
	}
?>
